<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" type="text/css" href="./../jquery-easyui-1.6.6/themes/icon.css">
    <!-- <link rel="stylesheet" type="text/css" href="jquery-easyui-1.6.6/themes/default/easyui.css"> -->
    <!-- <link rel="stylesheet" type="text/css" href="jquery-easyui-1.6.6/themes/icon.css"> -->
    <script type="text/javascript" src="jquery-easyui-1.6.6/jquery.min.js"></script>
    <!-- <script type="text/javascript" src="jquery-easyui-1.6.6/jquery.easyui.min.js"></script> -->

</head>

<body>
    <script src="../js/Controller.js"></script>
    <script>
        var ctrl = new Controller();
        ctrl.module = 'release';
        ctrl.columns = [
            [{
                field: 'ck',
                checkbox: true
            }, {
                field: 'name',
                title: '姓名',
                width: 300
            }, {
                field: 'password',
                title: '密码',
                width: 100
            }, {
                field: '_id',
                title: '操作',
                width: 180,
                formatter: (value, row, index) => {
                    return `<a href="javascript:this.ctrl.editData('${row._id}')">修改</a><a href="javascript:this.ctrl.deleData('${row._id}')">删除</a>`
                }
            }]
        ];
        ctrl.init();
    </script>
</body>

</html>